package bean;

public class admin {
	private int admin_id;
	private String admin;//管理员账号
	private String password;
	private String name;//管理人员名字
	private String tel;
	private String mail;
	private int permission;//管理人员权限
	private int whether_position;//是否在职
	
	public admin(){
		
	}
	
	public admin(int admin_id,String admin,String password,String name,String tel,String mail,int permission,int whether_position) {
		super();
		this.admin_id=admin_id;
		this.admin=admin;
		this.password=password;
		this.name=name;
		this.tel=tel;
		this.mail=mail;
		this.permission=permission;
		this.whether_position=whether_position;
	}

	public int getWhether_position() {
		return whether_position;
	}

	public void setWhether_position(int whether_position) {
		this.whether_position = whether_position;
	}

	public int getAdmin_id() {
		return admin_id;
	}

	public void setAdmin_id(int admin_id) {
		this.admin_id = admin_id;
	}

	public String getAdmin() {
		return admin;
	}

	public void setAdmin(String admin) {
		this.admin = admin;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getMail() {
		return mail;
	}

	public void setMail(String mail) {
		this.mail = mail;
	}

	public int getPermission() {
		return permission;
	}

	public void setPermission(int permission) {
		this.permission = permission;
	}
	
	

}
